package operator;

public class RelationshipOperatorDemo {

    public static void main(String[] args) {
        int x = 5;
        int y = 6;
        int z = 7;

        System.out.println(x > y && ++z <10);
        System.out.println(z);

        System.out.println(x > y & ++z <10);
        System.out.println(z);

        System.out.println(x < y || ++z <10);
        System.out.println(z);

        System.out.println(x < y | ++z <10);
        System.out.println(z);
    }
}
